package cn.findviewbydream.evil.main.dao;

import cn.findviewbydream.evil.main.entity.BaseEssentialInfoEntity;
import cn.findviewbydream.evil.main.entity.BaseSeatEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

/********************************************
 * 工程名：MealOrder
 * 包名：cn.findviewbydream.evil.main.dao
 * 时间：17-2-21
 * 作者：白雨濃 evil
 * 邮箱：evilbai@foxmail.com
 * 内容：
 ********************************************/
@Repository
public interface SettingBaseDAO
{
    BaseEssentialInfoEntity selectBaseEssentialInfo();

    List<BaseSeatEntity> selectBaseSeatList();

    BaseSeatEntity selectBaseSeatById(String id);

    int selectBaseSeatLastId();

    int replaceBaseSeat(BaseSeatEntity entity);

    int updateBaseSeatState(BaseSeatEntity entity);

    int replaceBaseEssentialInfo(BaseEssentialInfoEntity entity);
}
